﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="XMLB.aspx.cs" Inherits="Xiaov.SmartWeb.Application.TZGC.XMLB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript" src="/Resources/easyui-1.32/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="/Resources/easyui-1.32/jquery.easyui.min.js"></script>    
    <script type="text/javascript" src="/Resources/xiaovcn/scripts/usercheck.js"></script>
    
</head>
<body style="font-size:14px">
    <form id="form1" runat="server">
    <div id="content" style="overflow:scroll;">
        <table width="auto" border="0" cellspacing="5">
            <tr>
                <td valign="top">
                    <asp:TreeView ID="TreeView1" runat="server" ShowLines="true" OnSelectedNodeChanged="TreeView1_SelectedNodeChanged">
                        <RootNodeStyle HorizontalPadding="3px" ImageUrl="~/images/tree/folder_plus.png" />
                        <ParentNodeStyle HorizontalPadding="3px" ImageUrl="~/images/tree/folder.png" />
                        <SelectedNodeStyle ImageUrl="~/images/tree/folder_open.png" CssClass="tabs-header" />
                        <LeafNodeStyle HorizontalPadding="3px" ImageUrl="~/images/tree/folder.png" />
                    </asp:TreeView>
                </td>
                <td valign="top">
                    <table>
                        <tr>
                            <td>
                                类别编码：
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                类别名称：
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                父类别编码：
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                类别编码(增加子节点用)：
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                父类别编码(增加子节点用)：
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Button ID="Button1" runat="server" Text="保存" OnClick="btn_Save_Click" />
                            </td>
                            <td>
                                <asp:Button ID="Button2" runat="server" Text="新增同级节点" OnClick="btn_Add_Click" />
                            </td>
                            <td>
                                <asp:Button ID="Button3" runat="server" Text="新增子级节点" OnClick="btn_AddChild_Click" />
                            </td>
                            <td>
                                <asp:Button ID="Button4" runat="server" Text="删除" OnClick="btn_Del_Click" OnClientClick="return confirm('确定要删除吗？删除项目类别会影响该类别下的项目！(不建议操作！)')" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
    <script>
        $('#content').attr("style", "overflow:scroll;height:" + parseInt(userScreenHeight+30) + "px");
    </script>
</body>
</html>
